package me.tgl.demo1.util;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * Created by Administrator on 2017/7/11.
 */
@Repository
public class BlogProperties {
    @Value("${me.tgl.demo1.name}")
    private String name;
    @Value("${me.tgl.demo1.title}")
    private String title;
    @Value("${me.tgl.demo1.random.value}")
    private String randomValue;
    @Value("${me.tgl.demo1.random.number}")
    private String randomInt;
    @Value("${me.tgl.demo1.random.bignumber}")
    private String randomLong;
    @Value("${me.tgl.demo1.random.test1}")
    private String randomTest1;
    @Value("${me.tgl.demo1.random.test2}")
    private String randomTest2;
    @Value("${me.tgl.demo1.random.uuid}")
    private String randomUuid;
    @Value("${me.tgl.demo1.environment}")
    private String environment;

    public String getEnvironment() {
        return environment;
    }

    public String getRandomUuid() {
        return randomUuid;
    }

    public String getName() {
        return name;
    }

    public String getTitle() {
        return title;
    }

    public String getRandomValue() {
        return randomValue;
    }

    public String getRandomInt() {
        return randomInt;
    }

    public String getRandomLong() {
        return randomLong;
    }

    public String getRandomTest1() {
        return randomTest1;
    }

    public String getRandomTest2() {
        return randomTest2;
    }
}
